In logic, a metavariable (also metalinguistic variable[1] or syntactical variable[2]) is a symbol or symbol string which belongs to a metalanguage and stands for elements of some object language. For instance, in the sentence
the symbols A and B are part of the metalanguage in which the statement about the object language ℒ is formulated.